package com.heima.utils;

import org.apache.commons.codec.digest.DigestUtils;

public class Md5Util {

    public static String Md5(String password){
        return DigestUtils.md5Hex(password).toUpperCase();
    }

    public static void main(String[] args) {
        String a = Md5("123456");
        System.out.println(a);
    }
}